home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
676-700
/
676
/
fbm
/
fbm10man.zoo
/
MAN
/
gray2clr.man
< prev
next >
Wrap
Text File
|
1990-12-18
|
3KB
|
133 lines
GRAY2CLR(1) 25-Jun-90 GRAY2CLR(1)
3
1mNAME
0mgray2clr, unmap \- add a colormap to a grayscale image,
unmap a color image
1mSYNOPSIS
0mgray2clr [ -<type> ] [ -u ] < gray > coloror
unmap [ -<type> ] < gray > color
1mDESCRIPTION
0mAdds a colormap to an 8bit grayscale image, allowing it
to be displayed on a frame buffer. The image will still be
black and white, of course.
If invoked as 3munmap, 0mor with the -1mu 0moption, the output is
given as RGB values instead of mapped color. This routine
can be used to convert mapped color to unmapped color as
well. This must be done before 3mfbext 0mis used to resize a
mapped color image. Then the result can be remapped using
3mfbquant.
0m1mOPTIONS
0m-1mu 0m3munmap, 0mmakes the output a 3 plane image, instead of a
mapped imsage. This must be done before the image can be
resized (with fbext(1)) or quantized (with fbquant(1)).
1mEXAMPLE
0mAdd a colormap to a grayscale file for viewing on a frame
buffer:
% gray2clr -S < foo.8bit > foo.clr
Convert a mapped color image to unmapped and then adjust the
aspect ratio:
% gray2clr -u < foo.gif | fbext -a1 > foo.fbm
1mSEE ALSO
0mfbm(1) for general discussion, pbm(1) for PBM routines.
1mBUGS
0mNone known.
1mHISTORY
0mCopyright (C) 1989,1990 by Michael Mauldin. Permission is
granted to use this file in whole or in part for any
purpose, educational, recreational or commercial, provided
that this copyright notice is retained unchanged. This
software is available to all free of charge by anonymous FTP
and in the UUNET archives.
25-Jun-90 Michael Mauldin at Carnegie Mellon University
Release 1.0 mlmcs.cmu.edu
07-Apr-89 Michael L. Mauldin at Carnegie Mellon University
-1-
GRAY2CLR(1) 25-Jun-90 GRAY2CLR(1)
Beta release (version 0.91) mlmcs.cmu.edu
-2-